const signinBtn = document.getElementById("signin");
const signupBtn = document.getElementById("signup");

const container = document.querySelector(".container");

signinBtn.addEventListener("click", () => {
  container.classList.remove("right-panel-active")
})

signupBtn.addEventListener("click", () => {
  container.classList.add("right-panel-active")
})

function checkInput() {
  var user = document.getElementsByName("User")[0].value;
  var email = document.getElementsByName("Email")[0].value;
  var password = document.getElementsByName("Password")[0].value;
  if (user === "" || email === "" || password === "") {
    alert("请填写完整信息后点击注册");
    return false;
  }

}





